package com.uetoken.cn.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author 谢杨
 * @time 2018/8/23 14:15
 * @class 描述:钱包列表的javaBean类
 */
public class PurseListBean {

    /**
     * data : [{"id":1,"purseid":2221094,"pursename":"DOS","pursepic":"http://image.51yougu.cn/ue/szdb.png","balance":98989,"freeze":1000,"purseunit":8,"purseunitname":"DOS","pursetypeid":2,"pursetype":54,"pursetypename":"DV数字代币","pursetypepic":"http://image.51yougu.cn/ue/szdb.png","operation":"3","balanceformat":"98989.00000000","transactionamount":null},{"id":2,"purseid":125289,"pursename":"DOS库存","pursepic":"http://image.51yougu.cn/ue/szdb.png","balance":9.99089671194E9,"freeze":10001.35,"purseunit":8,"purseunitname":"DOS","pursetypeid":2,"pursetype":53,"pursetypename":"DV数字代币","pursetypepic":"http://image.51yougu.cn/ue/szdb.png","operation":"1,2,3,4","balanceformat":"9990896711.94000000","transactionamount":null},{"id":4,"purseid":79425,"pursename":"USDT","pursepic":"http://image.51yougu.cn/ue/szdb.png","balance":1000287.66,"freeze":10.15,"purseunit":3,"purseunitname":"美元","pursetypeid":3,"pursetype":55,"pursetypename":"DC数字货币","pursetypepic":"http://image.51yougu.cn/ue/szhb.png","operation":"3,7,8","balanceformat":"1000287.66000000","transactionamount":"0.00000000"},{"id":3,"purseid":125427,"pursename":"CNV","pursepic":"http://image.51yougu.cn/ue/szdb.png","balance":297713.29,"freeze":14000.15,"purseunit":2,"purseunitname":"元","pursetypeid":2,"pursetype":57,"pursetypename":"DV数字代币","pursetypepic":"http://image.51yougu.cn/ue/szdb.png","operation":"6,3","balanceformat":"297713.29000000","transactionamount":null},{"id":5,"purseid":199866,"pursename":"ETH","pursepic":"http://image.51yougu.cn/ue/szdb.png","balance":0,"freeze":0,"purseunit":9,"purseunitname":"ETH","pursetypeid":3,"pursetype":69,"pursetypename":"DC数字货币","pursetypepic":"http://image.51yougu.cn/ue/szhb.png","operation":"3,7,8","balanceformat":"0.00000000","transactionamount":"0.00000000"},{"id":7,"purseid":79217,"pursename":"EOS","pursepic":"http://image.51yougu.cn/ue/szdb.png","balance":11111,"freeze":0,"purseunit":10,"purseunitname":"EOS","pursetypeid":3,"pursetype":70,"pursetypename":"DC数字货币","pursetypepic":"http://image.51yougu.cn/ue/szhb.png","operation":"3,7,8","balanceformat":"11111.00000000","transactionamount":"0.00000000"},{"id":8,"purseid":68615,"pursename":"BCH","pursepic":"http://image.51yougu.cn/ue/szdb.png","balance":1000000,"freeze":0,"purseunit":11,"purseunitname":"BCH","pursetypeid":3,"pursetype":71,"pursetypename":"DC数字货币","pursetypepic":"http://image.51yougu.cn/ue/szhb.png","operation":"3,7,8","balanceformat":"1000000.00000000","transactionamount":"0.00000000"},{"id":9,"purseid":79432,"pursename":"BTC","pursepic":"http://image.51yougu.cn/ue/szdb.png","balance":990210.42,"freeze":0.02,"purseunit":5,"purseunitname":"BTC","pursetypeid":3,"pursetype":56,"pursetypename":"DC数字货币","pursetypepic":"http://image.51yougu.cn/ue/szhb.png","operation":"3,7,8","balanceformat":"990210.42000000","transactionamount":"700.04996000"}]
     * result : 1
     * message : 成功
     */

    private int result;
    private String message;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * id : 1
         * purseid : 2221094
         * pursename : DOS
         * pursepic : http://image.51yougu.cn/ue/szdb.png
         * balance : 98989.0
         * freeze : 1000.0
         * purseunit : 8
         * purseunitname : DOS
         * pursetypeid : 2
         * pursetype : 54
         * pursetypename : DV数字代币
         * pursetypepic : http://image.51yougu.cn/ue/szdb.png
         * operation : 3
         * balanceformat : 98989.00000000
         * transactionamount : null
         * price (string, optional): 代币价格 (汇率)
         * flag (string, optional): 涨跌(1=涨，0=跌)
         */

        private int id;
        private int purseid;
        private String pursename;
        private String pursepic;
        private String balance;
        private String freeze;
        private int purseunit;
        private String purseunitname;
        private int pursetypeid;
        private int pursetype;
        private String pursetypename;
        private String pursetypepic;
        private String operation;
        private String balanceformat;
        private String transactionamount;
        private String price;
        private String flag;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getPurseid() {
            return purseid;
        }

        public void setPurseid(int purseid) {
            this.purseid = purseid;
        }

        public String getPursename() {
            return pursename;
        }

        public void setPursename(String pursename) {
            this.pursename = pursename;
        }

        public String getPursepic() {
            return pursepic;
        }

        public void setPursepic(String pursepic) {
            this.pursepic = pursepic;
        }

        public String getBalance() {
            return balance;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }

        public String getFreeze() {
            return freeze;
        }

        public void setFreeze(String freeze) {
            this.freeze = freeze;
        }

        public int getPurseunit() {
            return purseunit;
        }

        public void setPurseunit(int purseunit) {
            this.purseunit = purseunit;
        }

        public String getPurseunitname() {
            return purseunitname;
        }

        public void setPurseunitname(String purseunitname) {
            this.purseunitname = purseunitname;
        }

        public int getPursetypeid() {
            return pursetypeid;
        }

        public void setPursetypeid(int pursetypeid) {
            this.pursetypeid = pursetypeid;
        }

        public int getPursetype() {
            return pursetype;
        }

        public void setPursetype(int pursetype) {
            this.pursetype = pursetype;
        }

        public String getPursetypename() {
            return pursetypename;
        }

        public void setPursetypename(String pursetypename) {
            this.pursetypename = pursetypename;
        }

        public String getPursetypepic() {
            return pursetypepic;
        }

        public void setPursetypepic(String pursetypepic) {
            this.pursetypepic = pursetypepic;
        }

        public String getOperation() {
            return operation;
        }

        public void setOperation(String operation) {
            this.operation = operation;
        }

        public String getBalanceformat() {
            return balanceformat;
        }

        public void setBalanceformat(String balanceformat) {
            this.balanceformat = balanceformat;
        }

        public String getTransactionamount() {
            return transactionamount;
        }

        public void setTransactionamount(String transactionamount) {
            this.transactionamount = transactionamount;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getFlag() {
            return flag;
        }

        public void setFlag(String flag) {
            this.flag = flag;
        }
    }
}
